home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-01-29 | 1.6 KB | 40 lines | [TEXT/MPS ] |
- ; Version: 1.00
- ; Created: Friday, October 20, 1989 at 9:11:52 PM
- ; File: Folders.a
- ;
- ; Assembler Interface to the Macintosh Libraries
- ; Copyright Apple Computer, Inc. 1989-1991
- ; All Rights Reserved
- ;
- ;--------------------------------------------------------------------
-
- IF &TYPE('__IncludingFolders__') = 'UNDEFINED' THEN
- __IncludingFolders__ SET 1
-
- kOnSystemDisk EQU $8000
-
- kCreateFolder EQU 1 ; true- create a folder or not
- kDontCreateFolder EQU 0 ; false
-
- kSystemFolderType EQU 'macs' ; the system folder
- kDesktopFolderType EQU 'desk' ; the desktop folder; objects in this folder show on the desktop
- kTrashFolderType EQU 'trsh' ; the trash folder; objects in this folder show up in the trash
- kWhereToEmptyTrashFolderType EQU 'empt' ; the “empty trash” folder; Finder starts emptying from here down
-
- kPrintMonitorDocsFolderType EQU 'prnt' ; Print Monitor documents
-
- kStartupFolderType EQU 'strt' ; Finder objects (applications, documents, DAs, aliases to …) to open at startup go here
- kAppleMenuFolderType EQU 'amnu' ; Finder objects to put into the Apple menu go here
- kControlPanelFolderType EQU 'ctrl' ; Control Panels go here (may contain INITs)
- kExtensionFolderType EQU 'extn' ; Finder extensions go here
-
- kPreferencesFolderType EQU 'pref' ; preferences for applications go here
- kTemporaryFolderType EQU 'temp' ; temporary files go here (deleted periodically, but don’t rely on it)
-
- macro
- _FindFolder
- moveq #0,d0
- dc.w $A823
- endm
-
- ENDIF ; ...already included